%%%%%%% DOCUMENT-PROPERTIES
\def\FileTitle{}
\def\FileThesisname{IP transport and routing in dynamically reconfigurable WDM networks}
\def\FileAuthor{Todor Yakimov~$<$\href{mailto:todor.yakimov@os3.nl}{Todor.Yakimov@os3.nl}$>$ \\}
\def\FileUniversity{University of Amsterdam}
\def\FileFaculty{Graduate School of Informatics}
\def\FileDepartment{System and Network Engineering}
\def\FileAddress{Science Park 904 \\1098XH Amsterdam}
\def\FileSupervisor{Ing. Ralph Koning~$<$\href{mailto:R.Koning@uva.nl}{R.Koning@uva.nl}$>$\\Dr. J.J. van der Ham~$<$\href{mailto:vdham@uva.nl}{vdham@uva.nl}$>$\\}



\documentclass[a4paper,oneside]{wbook}

%%%%%%% PACKAGES
\usepackage{csvsimple} %for csv-file fun
\usepackage[square,numbers]{natbib}
%\usepackage[hyphens]{url} % no need if hyperref
\PassOptionsToPackage{hyphens}{url}\usepackage[plainpages=true,pdfpagelabels]{hyperref}
\usepackage{wrapfig}
\usepackage{graphicx}
\usepackage{color}
\usepackage{fancybox}
\usepackage{epsfig}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{enumitem} %various bullet types for lists
\usepackage{parallel}
\usepackage[parfill]{parskip}
\setlength\parskip{0.5em}
\usepackage[nottoc]{tocbibind}
\usepackage{bbm}
\usepackage{latexsym}
\usepackage{exscale}
\usepackage{rotating}
\usepackage{times}
\usepackage{fmtcount}
\usepackage{comment}
\usepackage{longtable}
\usepackage[lang=en]{wbook-title} % frontpage layout %
\usepackage{hyperref}
\hypersetup{%
  pdftitle      = {\FileTitle{}},
  pdfsubject    = {\FileDepartment{}},
  pdfkeywords   = {LaTeX, PDF},
  linkcolor     = black,
  filecolor     = black,
  urlcolor      = black,
  citecolor     = black,
  pdfauthor     = {\FileAuthor{}},
  pdfcreator    = {\LaTeX\ with package \flqq hyperref\frqq},
  linktocpage   = true,
  colorlinks    = true
}

\usepackage{listings} % formatting for sourcecode in appendix

\lstset{%
  basicstyle=\scriptsize,
  frame=single, % shadowbox
  showspaces=false,
  showstringspaces=false,
  backgroundcolor=\color{white},
  breaklines=true,
  numbers=left,
  tabsize=2,
  numberstyle=\tiny,
  emphstyle=\bfseries,
  commentstyle=\itshape,
}

%%%%%%% COMMAND (RE)DEFINITIONS
\newcommand{\sidewise}[1]{%
  \begin{sideways}
    #1
  \end{sideways}
}
\newcommand{\sidecomment}[2]{%
  \underbrace{#1}_{\sidewise{#2}}
}
\newcommand{\makefigure}[4]{%
  \begin{figure}[htbp]
    \centering
    \fbox{
      \includegraphics[width=#1\textwidth]{#2}
    }
    \caption{#3}
    \label{#4}
  \end{figure}
}
\newcommand{\makeboximage}[2]{%
  \begin{center}
    \fbox{
      \includegraphics[width=#1\textwidth]{#2}
    }
  \end{center}
}

\def\signed #1{{\leavevmode\unskip\nobreak\hfil\penalty50\hskip2em
  \hbox{}\nobreak\hfil(#1)%
  \parfillskip=0pt \finalhyphendemerits=0 \endgraf}}

\newsavebox\mybox
\newenvironment{aquote}[1]
  {\savebox\mybox{#1}\begin{quote}}
  {\signed{\usebox\mybox}\end{quote}}
\newcommand{\citationnote}[1]{
}

\newcommand{\namesigdate}[2][5cm]{%
  \begin{tabular}{@{}p{#1}@{}}
    \\[2\normalbaselineskip] \hrule \\[0pt]
    {\small \textit{Date}} \\[2\normalbaselineskip] \hrule \\ [0pt]
    {\small \textit{Signature #2}}
  \end{tabular}
}

% Make sure URLs break within margins
\renewcommand{\UrlBreaks}{\do\/\do\a\do\b\do\c\do\d\do\e\do\f\do\g\do\h\do\i\do\j\do\k\do\l\do\m\do\n\do\o\do\p\do\q\do\r\do\s\do\t\do\u\do\v\do\w\do\x\do\y\do\z\do\A\do\B\do\C\do\D\do\E\do\F\do\G\do\H\do\I\do\J\do\K\do\L\do\M\do\N\do\O\do\P\do\Q\do\R\do\S\do\T\do\U\do\V\do\W\do\X\do\Y\do\Z}

%%%%%%% DOCUMENT
\begin{document}

\title{\FileTitle}
\author{\FileAuthor}
\thesisname{\FileThesisname}
\university{\FileUniversity}
\faculty{\FileFaculty}
\department{\FileDepartment}
\supervisor{\FileSupervisor}
%\reader{\FileReader}

\addr{\FileAddress}
\logo{figures/uva-logo}

\maketitle
\tableofcontents
\setcounter{page}{1}
\pagenumbering{roman}

%%%%%%%%%%%%%% Abstract %%%%%%%%%%%%%%
%\chapter*{\centering Abstract}

%\input{content/abstract}

%%%%%%%%%%%%%% Intro %%%%%%%%%%%%%%
% set the page numbers to be arabic, starting at page 1 %
\setcounter{page}{1}
\pagenumbering{arabic}
\input{content/chapter1_introduction}

%%%%%%%%%%%%%% Chapter 3: Theoretical study %%%%%%%%%%%%%%
\input{content/chapter2_das4network}

%%%%%%%%%%%%%% Chapter 3: Theoretical study %%%%%%%%%%%%%%

\input{content/chapter3_theoreticalStudy}

%%%%%%%%%%%%%% Chapter 4: Experimental study %%%%%%%%%%%%%%
\input{content/chapter4_experimentalStudy}

%%%%%%%%%%%%%% Chapter 5: sys des %%%%%%%%%%%%%%
\input{content/chapter5_systemdesign}

%%%%%%%%%%%%%% REST %%%%%%%%%%%%%%

%%%%%%% BIBLIOGRAPHY
%	\nocite{*} % Even show uncited entries
%	\bibliographystyle{authordate1}
%	\bibliography{report}


\end{document}
